package com.aeoj.domain.management;

import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;
import com.aeoj.common.annotation.Excel;
import com.aeoj.common.core.domain.BaseEntity;

/**
 * 题目对象 aeoj_problem
 *
 * @author zsm
 * @date 2025-04-01
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@Builder
public class Problem extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** ID */
    private Long id;

    /** 标题 */
    @Excel(name = "标题")
    private String title;

    /** 内容 */
    private String content;

    /** 输入用例 */
    private String inputCases;

    /** 输出用例 */
    private String outputCases;

    /** 标签 */
    @Excel(name = "标签")
    private String tags;

    /** 难度 */
    @Excel(name = "难度")
    private Long difficulty;

    /** 提示 */
    private String hints;

    /** 时间限制(ms) */
    private Long timeLimit;

    /** 内存限制(MB) */
    private Long memoryLimit;

    /** 总提交数 */
    @Excel(name = "总提交数")
    private Long submissionCount;

    /** 总通过数 */
    @Excel(name = "总通过数")
    private Long acceptedCount;

    /** 总点赞数 */
    @Excel(name = "总点赞数")
    private Long likes;

    /** 总收藏数 */
    @Excel(name = "总收藏数")
    private Long favorites;

    /** 删除标记 */
    private Long deleted;
}
